package com.simplechain.constant;

public interface TransactionConstant {

    interface Type {
        int SEND_TRANSACTION = 101;
        int CALL_TRANSACTION = 102;
        int GET_TRANSACTION_RECEIPT = 103;
        int GET_ABI = 104;
        int GET_BLOCK_NUMBER = 105;
        int GET_BLOCK_BY_HASH = 106;
        int GET_BLOCK_BY_NUMBER = 107;
        int GET_ContractAddressAll = 108;
    }

    interface Result {
        int SUCCESS = 0;
        int ERROR = -1;
    }

    interface Event {
        int EVENT_NEW_BLOCK = 201;
        int EVENT_RESOURCES_CHANGED = 202;
    }
}
